package com.zmn.plat.model.entity.supplier;

import com.zmn.common.utils.pager.Operator;

import java.util.Date;
import java.util.List;

/**
 * 类描述： ScmSupplier 供应商 实体
 *
 * @author DaiZhichao
 * @since 2018/10/26 17:35
 */

public class ScmSupplier extends Operator {

    /**
     * 供应商ID
     */
    private Integer supplierId;

    /**
     * 公司ID
     */
    private Integer companyId;

    /**
     * 创建者公司标识
     */
    private Integer zmnCompanyId;

    /**
     * 类型：1普通供应商，2通用供应商
     */
    private Short type;

    /**
     * 供应商公司名称
     */
    private String name;

    /**
     * 备注
     */
    private String remark;

    /**
     * 状态：1停用，2启用
     */
    private Short status;

    /**
     * 创建人
     */
    private String creater;

    /**
     * 更新人
     */
    private String updater;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 绑定的映射列表
     */
    private List<SupplierCompanyMap> mapList;

    public List<SupplierCompanyMap> getMapList() {
        return mapList;
    }

    public void setMapList(List<SupplierCompanyMap> mapList) {
        this.mapList = mapList;
    }

    private static final long serialVersionUID = 1L;

    public Integer getZmnCompanyId() {
        return zmnCompanyId;
    }

    public void setZmnCompanyId(Integer zmnCompanyId) {
        this.zmnCompanyId = zmnCompanyId;
    }

    public Short getType() {
        return type;
    }

    public void setType(Short type) {
        this.type = type;
    }

    public Integer getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(Integer supplierId) {
        this.supplierId = supplierId;
    }

    public Integer getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Short getStatus() {
        return status;
    }

    public void setStatus(Short status) {
        this.status = status;
    }

    public String getCreater() {
        return creater;
    }

    public void setCreater(String creater) {
        this.creater = creater;
    }

    public String getUpdater() {
        return updater;
    }

    public void setUpdater(String updater) {
        this.updater = updater;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }


}